package org.dey.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Delete;
import org.dey.pojo.Risk;
import org.springframework.stereotype.Repository;

@Repository
public interface RiskMapper extends BaseMapper<Risk> {
    @Delete("delete FROM t_risk where id = #{id}")
    void deleteByRId(Integer id);
}
